package com.pactera.schedule;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;


/**
* @ClassName: ScheduledMsgTask
* @Description: TODO 泰信推送消息定时任务
*/ 
@Component
public class ScheduledMsgTask {
	
	private static Logger logger = LogManager.getLogger(ScheduledMsgTask.class);
	
	
	/**
	* @Title: pushBorrowMessage
	* @Description: 2分钟推送一次泰信
	* @return void   
	*/ 
	@Scheduled(cron="0 0/2 * * * ?")
	@Transactional
	public void pushMessage() {
	}
	
	
	/**
	 * 发送泰信消息 修改消息任务表
	 */
	@Transactional
	public void sendMessage(String senderAccount,String subtype,String url,String title,String content,String apptype,String sender,String id) {
	}
}
